﻿using System;

namespace N2.Workflow.Edit.Web
{
	public partial class Default : WorkflowDefaultPage
	{
		protected override void OnInit(EventArgs e)
		{
			base.OnInit(e);
			this.lbCheck.Click += (_sender, _e) => {
				N2.Context.Current
					.Resolve<IWorkflowProvider>()
					.GetDefinition(N2.Context.UrlParser.StartPage);
			};
		}
	}
}
